package top.bug.blog.entity.dto.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.bug.blog.entity.dto.common.SingleRequest;

/**
 * @author <a href="https://github.com/jiusi66">九思.</a>
 * @email 10837907@qq.com
 * @from <a href="https://www.52bug.top">递归茶馆-www.52bug.top</a>
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("分类更新请求实体")
public class CategoryUpdateRequest extends SingleRequest {

    @ApiModelProperty("分类名")
    private String name;

    @ApiModelProperty("分类图标")
    private String icon;

    @ApiModelProperty("分类描述")
    private String description;

    @ApiModelProperty("排序")
    private Integer orderNum;

    @ApiModelProperty("状态")
    private String status;
}